package com.zcily.demo.service;

import com.zcily.demo.model.entity.Permission;
import com.zcily.demo.model.entity.Role;
import com.zcily.demo.model.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author CGG
 * @since 2025-11-05
 */
public interface UserService extends IService<User> {

    List<Permission> selectUserPermissions(String userId);

    List<Role> selectUserRoles(String userId);
}
